package com.gitee.maskit.jackson.converter;

import com.fasterxml.jackson.databind.util.StdConverter;

import java.util.Date;

public class JacksonDateToLongString extends StdConverter<Date, String> {
    public String convert(Date value) {
        return null != value ? String.valueOf(value.getTime()) : null;
    }
}
